import { SequelizeModule as _SequelizeModule } from '@nestjs/sequelize';
import { ServeStaticModule } from '@nestjs/serve-static';
import { join } from 'path';

export const StaticModule = ServeStaticModule.forRoot({
  rootPath: join(__dirname, '../..', 'src/static'), // 静态资源目录
  serveRoot: '/oss',
  serveStaticOptions: { index: false }
})
